package com.yisu.auction.api.core.service;

import com.yisu.auction.api.domain.request.tradePackage.TradeRequest;
import com.yisu.auction.ewf.common.web.JsonResult;


/**
 * author: 赵杰
 * Business Description：交易业务逻辑
 * createTime：2017/8/18
 */
public interface ITradeService {
    /**
     * author: 赵杰
     * Business Description：出价业务，通过memberId,prizeId
     * @param tradeRequest 含memberId,prizeId
     * @return
     */
    JsonResult offerPrice(TradeRequest tradeRequest);

    /**
     * author: 赵杰
     * Business Description：开竞拍结果
     * @param tradeRequest
     * @return
     */
    JsonResult openPrizeResult(TradeRequest tradeRequest);

    /**
     * author: 赵杰
     * Business Description：出价业务，通过memberId,prizeId
     * @param tradeRequest 含memberId,prizeId
     * @return
     */
    JsonResult offerPriceForJob(TradeRequest tradeRequest);




}
